package com.fjwt.gz.core.utils;

import cn.hutool.core.util.CharsetUtil;
import cn.hutool.extra.ssh.SshjSftp;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class SftpUtils {

    public static SshjSftp sftp(String url ,Integer port,String user,String passWord){
        SshjSftp sshjSftp = new SshjSftp(url, port, user, passWord, CharsetUtil.CHARSET_UTF_8);
        return sshjSftp;
    }

}
